package cn.itcast.dao;

import cn.itcast.pojo.Address;

import java.util.List;

public interface AddressDao {
    //查询所有
    List<Address> findAll();

    //新增
    void add(Address address);

    //修改
    void update(Address address);

    //删除
    void delete(Integer id);

    Address findById(Integer id);

    void change(Address address);
}
